home *** CD-ROM | disk | FTP | other *** search
/ Next Step: Mars? / Next Step Mars (1994)(IVI).iso / manmiss.dir / 00315_Script_315 < prev    next >
Text File  |  1994-11-29  |  2KB  |  64 lines

  1.  
  2. on checkKey
  3.   if the key = RETURN then
  4.     if field "passwordbox" contains "plasma" then
  5.       go to frame "start"
  6.     else
  7.       go to frame "nopass"
  8.     end if
  9.     when keydown then nothing
  10.   end if
  11. end checkkey
  12.  
  13. on firstFrame
  14.   global qtSprite
  15.   set the movieRate of sprite qtSprite = 0
  16.   set the movieTime of sprite qtSprite = 0
  17. end firstFrame
  18.  
  19. on lastFrame
  20.   global qtSprite,qtcastname
  21.   set the movieTime of sprite qtSprite = the duration of cast qtcastName
  22. end lastFrame
  23.  
  24.  
  25. on stepFwdQT
  26.   global qtSprite,qtcastname
  27.   set the movieRate of sprite qtSprite = 0
  28.   if the movieTime of sprite qtSprite < the duration of cast qtcastname then
  29.     set the movieTime of sprite qtSprite = the movieTime of sprite qtSprite + 1
  30.   end if
  31. end stepFwdQT
  32.  
  33. on stepRevQT
  34.   global qtSprite
  35.   set the movieRate of sprite qtSprite = 0
  36.   if the movieTime of sprite qtSprite = 0 then exit
  37.   set the movieTime of sprite qtSprite = the movieTime of sprite qtSprite - 1
  38. end stepRevQT
  39.  
  40. on frameCounter
  41.   global qtSprite
  42.   set the text of cast "counter" to string(the movieTime of sprite qtSprite)
  43. end frameCounter
  44.  
  45. --on rewindQT
  46. global qtSprite
  47. set the movieRate of sprite qtSprite = -3
  48. --set the movieTime of sprite qtSprite = 0
  49. end rewindQT
  50.  
  51. on pauseQT
  52. global qtSprite
  53. set the movieRate of sprite qtsprite = 0
  54. end pauseQT
  55.  
  56. on playQT
  57. global qtSprite,qtcastName
  58. set the movieRate of sprite qtSprite = 1
  59. end playQT
  60.  
  61. on playQT2
  62. global qtSprite,qtcastName
  63. set the movieRate of sprite qtSprite = 1
  64. end playQT2